# EchoSignalç±»æµè¯ç±»
import unittest
import torch
from apps.exp.exp_config import ExpConfig as EG
from apps.exp.source_signal import SourceSignal
from apps.exp.echo_signal import EchoSignal

class TEchoSignal(unittest.TestCase):
    # python -m unittest -v uts.apps.exp.t_echo_signal.TEchoSignal.test_generate_signal
    def test_generate_signal(self):
        s = SourceSignal.generate_signal()
        y = EchoSignal.generate_signal(s=s)
        print(f'y: {y.shape}; s: {s.shape};')